import { NgModule }      from '@angular/core';
import { CommonModule }  from '@angular/common';

import { FormsModule } from '@angular/forms';
// import { BrowserModule } from '@angular/platform-browser';
import { HttpModule} from '@angular/http';
import { NgaModule } from '../../theme/nga.module';
import { CarrierService } from '../carrier/carrier.service';
import { BusService } from '../bus/bus.service';
import { DriverService } from '../driver/driver.service';
import {routing} from "./tripcarrier.routing";
import {TripService} from "../trip/trip.service";
import {TripCarrierComponent} from "./tripcarrier.component";
import {TripcarrierDetailComponent} from "./detail/tripcarrier-detail.component";
import {stoptripcarrierComponent} from "./stop/stoptripcarrier.component";
import {StopService} from "../trip/stop/stop.service";

@NgModule({
  imports: [
    // BrowserModule,
    FormsModule,
    // HttpModule,
    CommonModule,
    routing,
    NgaModule,
  ],
  providers: [
      TripService,
      CarrierService,
      BusService,
      DriverService,
      StopService,
  ],
  declarations: [
    TripCarrierComponent,
    TripcarrierDetailComponent,
    stoptripcarrierComponent,
  ]
})
export default class TripCarrierModule {}
